﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfShopForgetTradPws.aspx.cs" Inherits="msBsc.WebUi.Custom.wfShopForgetTradPws" %>

<!DOCTYPE HTML>
<html>
<head runat="server"> 
    <title>忘记商家交易密码找回</title> 
    <link rel="shortcut icon" href="/themes/Style1/Image/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/??themes/Style1/StyleQt.css,themes/Style1/reg2.css," />  
    <script src="/??jqPlugin/js/jquery-1.8.3.min.js,js/jBase.js,js/jBPage.js,themes/Style1/jsQt.js" type="text/javascript"></script>
    <!--head fix rgn--> 
    <script type="text/javascript">
        $(window).load(function () {
            jQuery.getValidateImg('J_CheckCodeContainer');

            $("#J_BtnEmailForm").click(function () {
                if (getAllValiInp()) {
                    var _jsParam = new jsonRow();
                    _jsParam.AddCell("ACTION", "REGIST_STEP1");
                    _jsParam.AddCell("EMAIL", $("#J_Email").val());
                    _jsParam.AddCell("USER_NME", $("#J_User").val());
                    _jsParam.AddCell("txtLoginPws", $("#txtLoginPws").val());
                    _jsParam.AddCell("VALIDATE_CDE", $("#J_CheckCodeInput").val());
                    ajaxComm(_jsParam);
                }
            });

            $("#J_NoReceiveHandler").click(function () {
                $("#J_TipsEmailNoReceived").show();
            });
            $("#J_ReSendEmail").click(function () {
                window.location.href = "/c_ForgetPws.htm";
            });
            setAllValiInp();
        });

        function openMailsit() {
            var hashmail = {
                'qq.com': 'http://mail.qq.com',
                'gmail.com': 'http://mail.google.com',
                'sina.com': 'http://mail.sina.com.cn',
                '163.com': 'http://mail.163.com',
                '126.com': 'http://mail.126.com',
                'yeah.net': 'http://www.yeah.net/',
                'sohu.com': 'http://mail.sohu.com/',
                'tom.com': 'http://mail.tom.com/',
                'sogou.com': 'http://mail.sogou.com/',
                '139.com': 'http://mail.10086.cn/',
                'hotmail.com': 'http://www.hotmail.com',
                'live.com': 'http://login.live.com/',
                'live.cn': 'http://login.live.cn/',
                'live.com.cn': 'http://login.live.com.cn',
                '189.com': 'http://webmail16.189.cn/webmail/',
                'yahoo.com.cn': 'http://mail.cn.yahoo.com/',
                'yahoo.cn': 'http://mail.cn.yahoo.com/',
                'eyou.com': 'http://www.eyou.com/',
                '21cn.com': 'http://mail.21cn.com/',
                '188.com': 'http://www.188.com/',
                'foxmail.com': 'http://www.foxmail.com'
            };
            var site = $('#J_Email').val().split('@')[1];
            var urlt = hashmail[site];
            if (urlt == undefined) {
                alert("请你登陆邮箱激活账号！");
            } else {
                window.location.href = urlt;
            }

        };
    </script> 
</head>
<body> 
    <div id="mallPage" class="tms-page mallAct tmall-  page-not-market">
        <!-- -->
        <!--商城通用顶通-->
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderTopHtml()%>
        <%=new msBsc.WebUi.Code.QtHtmlGet().GetHeaderLogoHtml()%>
<div class="page lang-zh-S" style=" background-color:#fff; margin-top:10px; padding:10px;">

		 
		

		<div class="steps">
	<ol>
		<li class="active"><i>1</i><span class="tsl" >输入帐号、邮箱</span></li>
		<li><i>2</i><span class="tsl" >重置商家交易密码</span></li>
		<li><i >3</i><span class="tsl" >完成</span></li>
	</ol>

			
	</div>
	
	<div class="content">
		<div class="form-list form-main-list" id="divInputInfo">
			<form id="J_EmailForm" method="post" action="#">
				<div class="from-group">
						<div class="form-item">
							<span class="form-label form-label-b tsl"  ></span>
							<span class="tsl"  ></span>
						</div>
					<div class="form-item">
						<span class="form-label tsl" >掌柜帐号</span>
						<input class="form-text vali-inp" id="J_User" name="J_User" type="text" value="" reg-exp="^([\u4E00-\uFA29]|[\uE7C7-\uE7F3]|[a-zA-Z0-9_]){5,15}$" right-msg="允许5-16个字符，可用中文、数字、字母、下划线"/>
					</div>
					<div class="form-item">
						<span class="form-label tsl" >登录密码</span>
						<input class="form-text vali-inp" id="txtLoginPws" name="txtLoginPws" type="password" value=""/>
					</div>
					<div class="form-item">
						<span class="form-label tsl" >店铺邮箱</span>
						<input class="form-text vali-inp" id="J_Email" name="J_Email" type="text" value=""  reg-exp="^[\w-]+(\.[\w-]+)*@([\w-]+\.)+(com|cn|net)$" right-msg="请填写正确的邮箱地址" />
					</div>
					
										<div class="form-item form-item-checkcode">
						<span class="form-label tsl" >验证码</span>
						<table border="0" cellpadding="0" cellspacing="0"><tr><td><input id="J_CheckCodeInput" name="imgChkcode" class="form-text checkcode-text vali-inp" type="text" value="" reg-targ="J_CheckCodeContainer" reg-exp="^[0-9]{4}$" right-msg="请填写正确的验证码"/></td>
						<td style=" padding:3px;"><div id="J_CheckCodeContainer" class="checkcode-container"  title="请输入验证码！"></div> </td></tr></table>
					</div>
				</div>
				<div class="form-group">
					<div class="form-item">
				<%--		<input class="form-checkbox" type="checkbox" name="" id="J_Agreement" checked />
						
<label for="J_Agreement" class="f12 tsl" >
	同意<a href="/c_RegAgreement.htm" target="_blank">《优速购服务协议》</a>
</label>--%>

					</div>
					<div class="form-item form-item-short">
						<button type="button" class="btn btn-large tsl" data-phase-id="r_p_next" id="J_BtnEmailForm">下一步</button> 
					</div> 
					</div>
				</form>
			</div>




		<div class="email-sent" id="divMailSend" style="display:none;  padding:20px;">
			<h2 ><span class="tsl" >验证邮件已发送到邮箱</span>&nbsp;<em><span id="spnMailNme"></span></em></h2>
			<p class="tsl">请在24小时内点击邮箱中的链接设置新密码</p>
			<div class="email-sent-op">
				<input type="hidden" id="Hidden1" value="" />
				<input type="hidden" id="J_UserNumId" value="" />
				<a class="btn tsl" target="_blank"  href="javascript:void(0);" id="J_GoToEmailWeb" onclick="openMailsit();">立即查收邮件</a>
				<div class="email-sent-noreceived">
					<a  class="tsl"  href="javascript:void(0);" target="_self" id="J_NoReceiveHandler">没有收到邮件?</a>
				</div>
			</div>
			<div class="email-sent-op">
            <div class="tips tips-below tips-email" style="display:none;" id="J_TipsEmailNoReceived">
						<i></i>
						<div class="tips-body">
							<ul>
								<li class="tsl" >请先检查是否在垃圾邮件中</li>
                                <li><span class="tsl" >如果还未收到</span><button class="btn-resend-email tsl" id="J_ReSendEmail">重新发送邮件</button></li>
                                							</ul>
						</div>
					</div>
			</div>
			</div>


		</div> 
</div>

        <%=new msBsc.WebUi.Code.QtHtmlGet().GetFloorHtml()%> 
    </div>
    <!-- foot script --> 
</body>
</html>
